package com.aigc.sclassroom.service;

import com.aigc.sclassroom.pojo.SysUser;


public interface UserService {
    SysUser findByUserName(String userName);

    void register(String userName, String password);

    void registerRole(Long userId, Long roleId);

    SysUser getUserNameById(Long userId);

    String getRoleKeyByUserId(Long userId);

    Long getUserIdByName(String userName);
}
